home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
mx
/
events
/
ModuleEvent.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
1KB
|
52 lines
package mx.events
{
import flash.events.Event;
import flash.events.ProgressEvent;
import mx.core.mx_internal;
import mx.modules.IModuleInfo;
use namespace mx_internal;
public class ModuleEvent extends ProgressEvent
{
public static const READY:String = "ready";
public static const ERROR:String = "error";
public static const PROGRESS:String = "progress";
mx_internal static const VERSION:String = "3.0.0.0";
public static const SETUP:String = "setup";
public static const UNLOAD:String = "unload";
public var errorText:String;
private var _module:IModuleInfo;
public function ModuleEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:uint = 0, param5:uint = 0, param6:String = null, param7:IModuleInfo = null)
{
super(param1,param2,param3,param4,param5);
this.errorText = param6;
this._module = param7;
}
public function get module() : IModuleInfo
{
if(_module)
{
return _module;
}
return target as IModuleInfo;
}
override public function clone() : Event
{
return new ModuleEvent(type,bubbles,cancelable,bytesLoaded,bytesTotal,errorText,module);
}
}
}